package jzqb.common;

import lombok.Data;

/**
 * @Author xtt
 * @Date 2020/10/19 10:48
 * @Version 1.0
 */
@Data
public class LogResult extends Result {
    private int count;

    public static Result succ(Object data, int count) {
        LogResult m = new LogResult();
        m.setCode(0);
        m.setMsg("success");
        m.setCount(count);
        m.setData(data);
        return m;
    }


}
